package cn.softgame.cms.open.authentication.persistence;

import java.util.List;

import cn.softgame.cms.open.authentication.domain.SysModule;
import cn.softgame.cms.open.authentication.domain.SysUser;

public interface SysUserMapper {

	/**
	 * 根据登录客户名获取帐号信息
	 * @param loginName 登录客户名
	 * @return 帐号信息
	 */
	SysUser getSysUserByLoginName(String loginName);
	
	List<SysModule> getSysModules();
	
	List<SysModule> getSysModulesByRoleId(String roleId);
}
